package com.ssm.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

public abstract class ResultInfo {

	@JsonProperty("errorCode")
	private String errorCode;

	@JsonProperty("errorMsg")
	private String errorMsg;

	public ResultInfo() {
	}

	public ResultInfo(String errorCode) {
		this.errorCode = errorCode;
	}

	public ResultInfo(String errorCode, String errorMsg) {
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	
	
}
